<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录</title>

    <link rel="stylesheet" href="/statics/css/index_login.css">
    <link rel="stylesheet" href="/statics/css/bootstrap.min.css">
    <!-- 网页icon头像 -->
    <link rel="shortcut icon" href="/statics/img/tianqi.png">
</head>

<body>


    <div id="container">
        <div class="row">
            
            <!-- 右布局 -->
            <div id="rightLayout" style="margin-left: 650px;"> 
                <div id="loginBackground" class="shadow-lg">
                    <!-- 登录表单 -->
                    <form action="/loginDone" method="POST">
                        <div id="loginTitleText">
                            <h3>
                                <p class="text-success" style="margin-left: 60px;">登录</p>
                            </h3>
                        </div>
                        <div class="form-group">
                            <label for="username" id="usernameLabel">用户名:</label>
                            <input type="text" class="form-control" name="name_username" id="usernameBoxId">
                        </div>
                        <div class="form-group">
                            <label for="pwd" id="pwdLabel">密码:</label>
                            <input type="password" class="form-control" name="name_pwd" id="pwdBoxId">
                        </div>
                        <div class="form-check">
                            <label class="form-check-label" id="rememderMeLabel">
                                <input class="form-check-input rememberMe" name="rememberMe" type="checkbox"> 记住我
                            </label>
                        </div>
                        <div id="loginAndregister">
                            <input type="submit" class="btn btn-primary" value="登陆" name="" id="loginButton" style="margin-left: 75px;">
                            <input type="button" class="btn btn-primary" value="注册" name="" id="registerButton "
                                onclick="clickregister()" style="margin-left: 80px;">
                        </div>

                    </form>
                </div>
            </div>


        </div>


    </div>



    <!-- jquery脚本 -->
    <script src="/statics/js/jquery-3.6.0.min.js"></script>
    <!-- bootstrap脚本 -->
    <script src="/statics/js/bootstrap.min.js"></script>

    <!-- 点击注册按钮跳转效果 -->
    <script>
        function clickregister() {
            window.location.href = '/register';
        };
    </script>


</body>

</html>